package com.cy;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class NacosConfigApplication {
    //org.slf4j.Logger
    //org.slf4j.LoggerFactory
    private static Logger logger=
            LoggerFactory.getLogger(NacosConfigApplication.class);
    public static void main(String[] args) {
        SpringApplication.run(NacosConfigApplication.class,args);
        logger.debug("===debug===");//debug<info<error,springboot默认日志级别为infoo
        logger.info("===info===");
        logger.error("===error===");
    }
}

